home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / rpc.passw.z / rpc.passw
Encoding:
Text File  |  2002-10-03  |  7.8 KB  |  199 lines

  1.  
  2.  
  3.  
  4. rrrrppppcccc....ppppaaaasssssssswwwwdddd((((1111MMMM))))                                                  rrrrppppcccc....ppppaaaasssssssswwwwdddd((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rpc.passwd - server for modifying NIS password file
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////eeeettttcccc////rrrrppppcccc....ppppaaaasssssssswwwwdddd [[----DDDD _d_i_r_e_c_t_o_r_y]|_p_a_s_s_w_o_r_d_f_i_l_e] [----nnnnooooggggeeeeccccoooossss] [----nnnnoooosssshhhheeeellllllll] [----nnnnooooppppwwww] [----nnnnooooddddiiiirrrr] [----aaaalllllllloooowwwwddddiiiirrrr] [----mmmm _a_r_g_1 _a_r_g_2 ...]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _r_p_c._p_a_s_s_w_d is a server that handles password change requests from
  16.      _y_p_p_a_s_s_w_d(1).  It changes a password entry in the passwd file or, if
  17.      present, the shadow file. These files provide the basis for the
  18.      _p_a_s_s_w_d._b_y_n_a_m_e and _p_a_s_s_w_d._b_y_u_i_d maps. Entries in the passwd or shadow
  19.      files are only changed if the password presented by yppasswd(1) matches
  20.      the encrypted password of the entry.
  21.  
  22.      This server should be run on the host serving as the network information
  23.      service (NIS) master. It is started from the /_e_t_c/_i_n_i_t._d/_n_e_t_w_o_r_k startup
  24.      script if the yyyypppp and yyyyppppmmmmaaaasssstttteeeerrrr configuration flags are set on (see
  25.      _n_e_t_w_o_r_k(1M)).
  26.  
  27.      For backward compatibility for IRIX versions prior to 6.5.14, if the
  28.      shadow file is used, the _s_h_a_d_o_w._b_y_n_a_m_e map is built along with
  29.      _p_a_s_s_w_d._b_y_n_a_m_e and _p_a_s_s_w_d._b_y_u_i_d. For more information configuration info
  30.      on shadow see man page shadow(4).
  31.  
  32.      If the ----DDDD option is given the passwd or shadow files are located under
  33.      the directory path specified with -D. The default directory for the
  34.      passwd or shadow files is /_e_t_c.
  35.  
  36.      If the ----DDDD option is used, the PPPPWWWWDDDDIIIIRRRR variable in
  37.      /_e_t_c/_c_o_n_f_i_g/_y_p_m_a_s_t_e_r._o_p_t_i_o_n_s, should be set to match directory specified
  38.      on the command line, i.e.
  39.  
  40.           PWDIR=_d_i_r_e_c_t_o_r_y
  41.  
  42.  
  43.      Note that if PPPPWWWWDDDDIIIIRRRR is set in /_e_t_c/_c_o_n_f_i_g/_y_p_m_a_s_t_e_r._o_p_t_i_o_n_s,
  44.      /_e_t_c/_c_o_n_f_i_g/_r_p_c._p_a_s_s_w_d._o_p_t_i_o_n_s is not used to specify options for
  45.      rrrrppppcccc....ppppaaaasssssssswwwwdddd....
  46.  
  47.      If, instead of specifying a directory with ----DDDD, the _p_a_s_s_w_o_r_d_f_i_l_e is used,
  48.      it should provide the full pathname of the password file. If a shadow
  49.      file is found in the same directory as _p_a_s_s_w_o_r_d_f_i_l_e the shadow file is
  50.      used as described above and the actual password changes will be made in
  51.      the shadow file.
  52.  
  53.      By default, /_e_t_c/_p_a_s_s_w_d was used as the NIS passwd file.  If an
  54.      alternative is provided by putting ppppaaaasssssssswwwwoooorrrrddddffffiiiilllleeee on the command line (by
  55.      putting it into /_e_t_c/_c_o_n_f_i_g/_r_p_c._p_a_s_s_w_d._o_p_t_i_o_n_s), the PPPPWWWWFFFFIIIILLLLEEEE variable in
  56.      /_e_t_c/_c_o_n_f_i_g/_y_p_m_a_s_t_e_r._o_p_t_i_o_n_s should be set to match _p_a_s_s_w_o_r_d_f_i_l_e,
  57.      specified on the command line, i.e
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. rrrrppppcccc....ppppaaaasssssssswwwwdddd((((1111MMMM))))                                                  rrrrppppcccc....ppppaaaasssssssswwwwdddd((((1111MMMM))))
  71.  
  72.  
  73.  
  74.           PWFILE=_p_a_s_s_w_o_r_d_f_i_l_e
  75.  
  76.  
  77.      Note that the option of specifying alternative file name is provided for
  78.      the backward compatibility with IRIX releases prior to 6.5.14 and may be
  79.      removed in a future release. It is recommended that administrators update
  80.      their rpc.passwd configurations to use the ----DDDD option (using the PPPPWWWWDDDDIIIIRRRR
  81.      variable as described above) if an alternate passwd file is being used.
  82.  
  83.      Note also that with the use of the ----DDDD option, the literal filenames
  84.      "passwd" and "shadow" are used in the directory specified with the ----DDDD
  85.      option. Because the ----DDDD option assumes the use of a directory other than
  86.      /_e_t_c there is no need for alternate file names such as "passwd.yp".
  87.  
  88.      If the ----mmmm option is given, _y_p_m_a_k_e(_1_M) is performed in /_v_a_r/_y_p after the
  89.      passwd or shadow files are modified. Any arguments following the -m flag
  90.      are passed to _y_p_m_a_k_e.
  91.  
  92.      If the ----nnnnoooosssshhhheeeellllllll, ----nnnnooooggggeeeeccccoooossss, ----nnnnooooddddiiiirrrr or ----nnnnooooppppwwww options are given, these
  93.      fields  may  not  be  changed  remotely using yyyyppppcccchhhhppppaaaassssssss(1).  Note that
  94.      ----nnnnooooddddiiiirrrr is the default behavior because security can be compromised by
  95.      allowing arbitrary directories, use ----aaaalllllllloooowwwwddddiiiirrrr to explicitly allow this
  96.      feature. ----aaaalllllllloooowwwwddddiiiirrrr, once it has been specified, will override ----nnnnooooddddiiiirrrr.
  97.  
  98.      If a user is allowed to change his or her shell either via yyyyppppppppaaaasssssssswwwwdddd(1) or
  99.      yyyyppppcccchhhhppppaaaassssssss(1) the new shell path is checked against the default list of
  100.      known shells on a NIS master. By default that list includes
  101.  
  102.           /bin/bsh
  103.           /bin/csh
  104.           /bin/jsh
  105.           /bin/ksh
  106.           /bin/rksh
  107.           /bin/sh
  108.           /sbin/bsh
  109.           /sbin/csh
  110.           /sbin/jsh
  111.           /sbin/ksh
  112.           /sbin/rksh
  113.           /sbin/sh
  114.           /usr/bin/bsh
  115.           /usr/bin/csh
  116.           /usr/bin/jsh
  117.           /usr/bin/ksh
  118.           /usr/bin/rksh
  119.           /usr/bin/sh
  120.           /usr/bin/tcsh
  121.  
  122.      This list can be changed by creating the file /_e_t_c/_s_h_e_l_l_s, where each
  123.      line corresponds to one shell path.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. rrrrppppcccc....ppppaaaasssssssswwwwdddd((((1111MMMM))))                                                  rrrrppppcccc....ppppaaaasssssssswwwwdddd((((1111MMMM))))
  137.  
  138.  
  139.  
  140. FFFFIIIILLLLEEEESSSS
  141.      /etc/passwd
  142.      /etc/shadow
  143.      /etc/shells
  144.      /etc/config/rpc.passwd.options
  145.      /etc/config/ypmaster.options
  146.  
  147. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  148.      network(1M), ypmake(1M), yppasswd(1), ypchpass(1), passwd(4), shadow(4),
  149.      shells(4), ypfiles(4).
  150.  
  151. CCCCAAAAVVVVEEEEAAAATTTT
  152.      This server will eventually be replaced with a more general service for
  153.      modifying any NIS map.
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.